package com.ruoyi.project.business.domain;



import org.apache.commons.lang3.builder.ToStringBuilder;

import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;

import com.ruoyi.framework.web.domain.BaseEntity;



/**

 * 通知公告对象 business_notice

 * 

 * @author ruoyi

 * @date 2020-10-20

 */

public class BusinessNotice extends BaseEntity

{

    private static final long serialVersionUID = 1L;



    /** 公告ID */

    private Long id;



    /** 公告标题 */

    @Excel(name = "公告标题")

    private String noticeTitle;



    /** 公告类型（1通知 2公告 3土地告警） */

    @Excel(name = "公告类型", readConverterExp = "1=通知,2=公告,3=土地告警")

    private String noticeType;



    /** 公告内容 */

    @Excel(name = "公告内容")

    private String noticeContent;



    /** 公告状态（0正常 1关闭） */

    @Excel(name = "公告状态", readConverterExp = "0=正常,1=关闭")

    private String status;

    /**
     * 用户ID
     */
    private Long  userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public void setId(Long id)

    {

        this.id = id;

    }



    public Long getId() 

    {

        return id;

    }

    public void setNoticeTitle(String noticeTitle) 

    {

        this.noticeTitle = noticeTitle;

    }



    public String getNoticeTitle() 

    {

        return noticeTitle;

    }

    public void setNoticeType(String noticeType) 

    {

        this.noticeType = noticeType;

    }



    public String getNoticeType() 

    {

        return noticeType;

    }

    public void setNoticeContent(String noticeContent) 

    {

        this.noticeContent = noticeContent;

    }



    public String getNoticeContent() 

    {

        return noticeContent;

    }

    public void setStatus(String status) 

    {

        this.status = status;

    }



    public String getStatus() 

    {

        return status;

    }



    @Override

    public String toString() {

        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)

            .append("id", getId())

            .append("noticeTitle", getNoticeTitle())

            .append("noticeType", getNoticeType())

            .append("noticeContent", getNoticeContent())

            .append("status", getStatus())

            .append("createBy", getCreateBy())

            .append("createTime", getCreateTime())

            .append("updateBy", getUpdateBy())

            .append("updateTime", getUpdateTime())

            .append("remark", getRemark())

            .toString();

    }

}
